package adminMenuRepository

import (
	adminMenuModel "gitee.com/krio/ginc/example/internal/admin/menu/model"
	commonEntry "gitee.com/krio/ginc/example/internal/common/entry/common"
	"github.com/gin-gonic/gin"
)

type AdminMenuRepos interface {
	MenuAdd(ctx *gin.Context, one *adminMenuModel.AdminMenu) (int64, error)
	MenuUpdate(ctx *gin.Context, req *adminMenuModel.AdminMenu) (int64, error)
	MenuDelete(ctx *gin.Context, id []int64) error
	MenuDetail(ctx *gin.Context, ids int64) (*adminMenuModel.AdminMenu, bool, error)
	MenuList(ctx *gin.Context, req *commonEntry.ListCommonReq) ([]*adminMenuModel.AdminMenu, int64, error)
}
